package com.foryou.system.modules.wx.service;

import com.foryou.system.modules.wx.entity.SubjectEntity;

import java.util.List;
import java.util.Map;

public interface SubjectService {

    List<SubjectEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    SubjectEntity getSubjectInfo(Long id);

    int add(Map<String, Object> map);

    int update(Map<String, Object> map);

    int remove(Long[] ids);

    int delete(Long[] ids);

    int queryByName(String name);
}
